<div class="btn-group" data-toggle="buttons">
    @foreach($buttons as $button)
    <label class="btn btn-default btn-sm @if (isset($button['class'])) {{ $button['class'] }} @endif">
        <input type="radio" class="ajax-button" value="{{ $button['url'] }}">{{$button['name']}}
    </label>
    @endforeach
</div>